package com.syj.jsxjj.ui.my.bean;

import android.os.Parcel;
import android.os.Parcelable;

//用户信息
public class UserInfoBean implements Parcelable {

	/**
	 * JSESSIONID : 060b95de-fa1d-4d6f-886a-b2300cfbe193
	 * token : 1c3544dd835b262d02d10e7fdf288efffc35e0bb2b0aee5aa99b7a0ffd145350
	 */

	private String JSESSIONID;
	private String token;
	private String username;
	private String loanStatus;
	private long loanTime;
	public String getJSESSIONID() {
		return JSESSIONID;
	}

	public void setJSESSIONID(String JSESSIONID) {
		this.JSESSIONID = JSESSIONID;
	}

	public long getLoanTime() {
		return loanTime;
	}

	public void setLoanTime(long loanTime) {
		this.loanTime = loanTime;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getLoanStatus() {
		return loanStatus;
	}

	public void setLoanStatus(String loanStatus) {
		this.loanStatus = loanStatus;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public UserInfoBean() {
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(this.JSESSIONID);
		dest.writeString(this.token);
		dest.writeString(this.username);
		dest.writeString(this.loanStatus);
		dest.writeLong(this.loanTime);
	}

	protected UserInfoBean(Parcel in) {
		this.JSESSIONID = in.readString();
		this.token = in.readString();
		this.username = in.readString();
		this.loanStatus = in.readString();
		this.loanTime = in.readLong();
	}

	public static final Creator<UserInfoBean> CREATOR = new Creator<UserInfoBean>() {
		@Override
		public UserInfoBean createFromParcel(Parcel source) {
			return new UserInfoBean(source);
		}

		@Override
		public UserInfoBean[] newArray(int size) {
			return new UserInfoBean[size];
		}
	};
}
